package com.satan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.satan.entity.SysMenu;
import com.satan.entity.response.ResCode;

import java.util.List;

/**
* @author Demon
* @description 针对表【sys_menu】的数据库操作Service
* @createDate 2023-10-03 20:53:34
*/
public interface SysMenuService extends IService<SysMenu> {

    List<SysMenu> buildTreeMenu(List<SysMenu> sysMenuList);

    boolean saveOrUpdateMenu(SysMenu sysMenu);

    ResCode deleteMenu(Long id);
}
